
import { createRouter,createWebHistory } from "vue-router";
import Home from "./views/home-page.vue"
import About from './views/about-page.vue'
import Contact from './views/contact-page.vue'

const routes = [
  {
    path:'/',
    name:'Home',
    component:Home
  },
  {
    path:'/about-page',
    name:'About',
    component:About
  },
  {
    path:'/contact-page',
    name:'Contact',
    component:Contact
  },
  
];

const router = createRouter({
  history:createWebHistory(),
  routes
})

export default router